package com.base.pig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.base.pig.dto.ScLayerDto;
import com.base.pig.dto.ScLayerTypeDto;
import com.base.pig.entity.ScLayer;


import java.util.List;
import java.util.Map;

/**
 * @author zhangzhy
 */
public interface ScLayerService extends IService<ScLayer> {

    /***
     * @Title queryLength
     * @Description 获取管线图层长度
     * @return String
     *
     */
    String queryLength(String ids);
    /***
     * @Title allTree
     * @Description 所有图层tree
     * @return com.pig4cloud.pig.lab.entity.ScLayer
     * @author zhangzhy
     * @date 2020/6/24 10:48
     */
    Map<String, Object> allTree();

    /**
     * @return java.util.List<com.pig4cloud.pig.lab.dto.ScLayerTypeDto>
     * @Title typeTree
     * @Description 图层中文对照接口
     * @author zhangzhy
     * @date 2020/7/10 14:34
     */
    List<ScLayerTypeDto> typeTree();

    /**
     * @return java.util.Map<java.lang.String, java.util.List < com.pig4cloud.pig.lab.dto.ScLayerDto>>
     * @Title constructionTree
     * @Description 获取三维施工图层
     * @author zgq
     * @date 2020/8/21 17:35
     * @UpdateUser
     * @UpdateDate
     * @UpdateRemark
     */
    Map<String, List<ScLayerDto>> constructionTree();
}
